import Mock from "mockjs";

function Faqiliucheng() {
    const json = { code: "200", success: true, msg: "操作成功" };
    const list = [];
    list.push({
        ID: 1,
        type: "报销流程",
        iconname: "#icon-dayin",
        processname: "今日事今日毕",
    }, {
        ID: 2,
        type: "报销流程",
        iconname: "#icon-dayin",
        processname: "今日事今日毕",
    }, {
        ID: 3,
        type: "报销流程",
        iconname: "#icon-dayin",
        processname: "今日事今日毕",
    }, {
        ID: 4,
        type: "报销流程",
        iconname: "#icon-dayin",
        processname: "今日事今日毕",
    }, {
        ID: 5,
        type: "报销流程",
        iconname: "#icon-dayin",
        processname: "今日事今日毕",
    });
    json.data = {
        ID: 1,
        type: "报销流程",
        iconname: "#icon-dayin",
        processname: "今日事今日毕",
    };
    return json
}

export default ({ mock }) => {
    if (!mock) return;
    Mock.mock(/\/api\/workmock\/startList/, 'post', Faqiliucheng);


}